package com.albaba.designpattern.command.text_001;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 订单类
 * @Author zx
 * @Date 2025/2/27 17:00
 * @Version 1.0
 */
public class Order {

    // 餐桌号码
    private int diningTable;

    // 存储菜名和份数
    private Map<String, Integer> foodMenu = new HashMap<>();

    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodMenu() {
        return foodMenu;
    }

    public void setFoodMenu(Map<String, Integer> foodMenu) {
        this.foodMenu = foodMenu;
    }
}
